home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / samdu220.zip / VDRIVE.H < prev   
Text File  |  1993-04-01  |  2KB  |  51 lines

  1. #ifndef __VDRIVE_H__
  2. #define __VDRIVE_H__
  3.  
  4. #define FD0000          0x0000
  5. #define FD0360          0x0001
  6. #define FD0720          0x0004
  7. #define FD1200H         0x0002
  8. #define FD1200          0x0003
  9. #define FD1440H         0x0008
  10. #define FD1440          0x000C
  11. #define FD2880H         0x0010
  12. #define FD2880          0x001C
  13. #define FDALL          0x001F
  14. #define FDUNKNOWN       0x4000
  15.  
  16. #define DRIVESECTORSIZE 512
  17.  
  18. #define FLAGS_ALLOCATED_CLUSTERS  0x0001
  19. #define FLAGS_ALLOCATED_CYLINDERS 0x0002
  20. #define FLAGSSUPPORTED FLAGS_ALLOCATED_CYLINDERS
  21.  
  22. #include "HandleSt.h"
  23. #include "IOStatus.h"
  24.  
  25. #ifdef __cplusplus
  26. extern "C" {
  27. #endif /* __cplusplus */
  28.  
  29. UINT       FAR PASCAL VDriveFlag ( VOID far *pCVDrive ) ;
  30. UINT       FAR PASCAL VDriveForceReset ( VOID far *pCVDrive ) ;
  31. UINT       FAR PASCAL VDriveFormatTrack ( VOID far *pCVDrive, UINT nCylinders, UINT nHead ) ;
  32. BOOL       FAR PASCAL VDriveIsRemote ( VOID far *pCVDrive ) ;
  33. BOOL       FAR PASCAL VDriveIsRemovable ( VOID far *pCVDrive ) ;
  34. BOOL       FAR PASCAL VDriveIsRemovable ( VOID far *pCVDrive ) ;
  35. BOOL       FAR PASCAL VDriveIsUseable ( VOID far *pCVDrive ) ;
  36. char       FAR PASCAL VDriveLetter ( VOID far *pCVDrive ) ;
  37. char       FAR PASCAL VDriveLetter ( VOID far *pCVDrive ) ;
  38. UINT       FAR PASCAL VDriveReadSectors ( VOID far *pCVDrive, UINT nCylinder, UINT nHead, UINT nSector, UINT nCount, LPBYTE lpcBuffer ) ;
  39. UINT       FAR PASCAL VDriveReset ( VOID far *pCVDrive ) ;
  40. UINT       FAR PASCAL VDriveSetRead ( VOID far *pCVDrive, UINT nTempType ) ;
  41. UINT       FAR PASCAL VDriveSetType ( VOID far *pCVDrive, UINT nNewType ) ;
  42. UINT       FAR PASCAL VDriveSetWrite ( VOID far *pCVDrive, UINT nTempType ) ;
  43. UINT       FAR PASCAL VDriveType ( VOID far *pCVDrive ) ;
  44. UINT       FAR PASCAL VDriveWriteSectors ( VOID far *pCVDrive, UINT nCylinder, UINT nHead, UINT nSector, UINT nCount, LPBYTE lpcBuffer ) ;
  45.  
  46. #ifdef __cplusplus
  47.            }
  48. #endif /* __cplusplus */
  49.  
  50. #endif /* __VDRIVE_H__ */
  51.